package top.healthylife.gateway.platform.td.dto.creditbodyguard.base.res;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import top.healthylife.gateway.dto.request.result.ApiResultDto;

/**
 * @author : GaoZeXi
 * @date 2021/8/2 14:14
 */
@Data
@Accessors(chain = true)
@ApiModel("同盾响应结果统一封装对象")
public class TdResBaseResultDto<T> extends ApiResultDto {
    @ApiModelProperty(value = "id",example = "WF2021080214114836092062")
    private String id;
    @ApiModelProperty(value = "是否调用成功",example = "true->成功,false->失败")
    private Boolean success;
    @ApiModelProperty(value = "nextService",example = "")
    private String nextService;
    @ApiModelProperty(value = "错误码",example = "")
    private String reasonCode;
    @ApiModelProperty(value = "错误原因",example = "")
    private String reasonDesc;
    @ApiModelProperty(value = "结果集",example = "",dataType = "T")
    private T resultDesc;
}
